package cn.exrick.xboot.modules.Information.dao.mapper;

import cn.exrick.xboot.modules.Information.entity.RiverTourHistory;
import cn.exrick.xboot.modules.Information.entity.WorkCondition;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.exrick.xboot.modules.Information.entity.River;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 河流信息数据处理层
 * @author Lyg
 */
public interface RiverMapper extends BaseMapper<River> {

    /**
     * 查找正在巡河的人
     * @Param("userDSdasda") String userId
     * @return
     */
    List<RiverTourHistory> findRiverPeople(Map<String, Object> map);

    List<WorkCondition> getWorkConditionForm(Map<String, Object> map);

}